<?php /* Smarty version Smarty-3.0.7, created on 2014-10-17 11:52:38
         compiled from "C:\wamp\www\kstmweixin\home\membership\view\default\core\member\edit.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1375954409286235160-58223639%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '73b07e3a79b6c916e2ec2fab2685112a06380942' => 
    array (
      0 => 'C:\\wamp\\www\\kstmweixin\\home\\membership\\view\\default\\core\\member\\edit.tpl',
      1 => 1413447707,
      2 => 'file',
    ),
    '8530a39f833d89c02600f5610ca3abc4f65bd8d2' => 
    array (
      0 => 'C:\\wamp\\www\\kstmweixin\\home\\membership\\view\\default\\/layout/member/layout.tpl',
      1 => 1413447675,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1375954409286235160-58223639',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_block_php')) include 'C:\wamp\www\kstmweixin\library\template\Smarty\plugins\block.php.php';
?><!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_smarty_tpl->getVariable('encoding')->value;?>
">
		<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
		<title><?php echo $_smarty_tpl->getVariable('site_name')->value;?>
</title>
		<meta http-equiv="cache-control" content="no-cache" />
		<!--[if lte IE 6]>
		<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?js=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
js/DD_belatedPNG.js"></script>
		<![endif]-->
		<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
		<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('url_base')->value;?>
common/js/gzip.php?js=<?php echo $_smarty_tpl->getVariable('url_base')->value;?>
common/js/ajax/jquery/jquery-1.7.2.min.js"></script>
	    <link rel="stylesheet" href="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?css=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/css/font-awesome-4.1.0/css/font-awesome.css">
	    <link rel="stylesheet" href="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?css=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/css/bootstrap-override.css">
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?css=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/css/public.css">
		<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?js=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
js/public.js"></script>
		<?php echo (($tmp = @$_smarty_tpl->getVariable('viewObject')->value->css_ready)===null||$tmp==='' ? '' : $tmp);?>

		<?php echo (($tmp = @$_smarty_tpl->getVariable('viewObject')->value->js_ready)===null||$tmp==='' ? '' : $tmp);?>

	</head>
	<?php $_smarty_tpl->smarty->_tag_stack[] = array('php', array()); $_block_repeat=true; smarty_block_php(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
flush();<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_php(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

	<body>
		<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('templateDir')->value)."/layout/member/head.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
		
  <div class="container">
      <div class="member_title">
          <div class="member_title_left">会员资料完善</div>
          <div class="member_title_right"></div>
      </div>
      <div class="member_edit">
        <form method="post" id="frmedit">
          <div class="member_edit_li">
              <div class="member_edit_lable">卡号：</div>
              <div class="member_edit_ipt"><?php echo $_smarty_tpl->getVariable('member')->value->card_no;?>
</div>
          </div>
          <div class="member_edit_li">
              <div class="member_edit_lable">余额：</div>
              <div class="member_edit_ipt"><?php echo $_smarty_tpl->getVariable('member')->value->user_balance;?>
</div>
          </div>
          <div class="member_edit_li">
              <div class="member_edit_lable">积分：</div>
              <div class="member_edit_ipt"><?php echo $_smarty_tpl->getVariable('member')->value->user_point;?>
</div>
          </div>
          <!-- <div class="member_edit_li">
              <div class="member_edit_lable">卡有效期：</div>
              <div class="member_edit_ipt"><?php echo $_smarty_tpl->getVariable('member')->value->user_expdate;?>
</div>
          </div> -->
          <input type="hidden" name="cardno" id="cardno" value="<?php echo $_smarty_tpl->getVariable('member')->value->card_no;?>
">
          <div class="member_edit_li">
              <div class="member_edit_lable">姓名：</div>
              <div class="member_edit_ipt"><input type="text" name="realname" id="realname" class="ipt" value="<?php echo $_smarty_tpl->getVariable('member')->value->user_realname;?>
"></div>
          </div>
          <div class="member_edit_li">
              <div class="member_edit_lable">性别：</div>
              <div class="member_edit_ipt">
                <select name="gender" class="ipt" id="gender">
                  <option value="1" <?php if ($_smarty_tpl->getVariable('member')->value->user_gender==1){?>selected<?php }?> >男</option>
                  <option value="2" <?php if ($_smarty_tpl->getVariable('member')->value->user_gender==2){?>selected<?php }?> >女</option>
                </select>
              </div>
          </div>
          <div class="member_edit_li">
              <div class="member_edit_lable">生日：</div>
              <div class="member_edit_ipt">
                  <select id="tYEAR" name="tyear" size="1" onChange="createSelect()">
                      <option value="0">年</option>
                  </select>
                  <select id="tMON" name="tmon" size="1" onChange="createSelect()">
                      <option value="0">月</option>
                  </select>
                  <select id="tDAY" name="tday" size="1">
                      <option value="0">日</option>
                  </select>
                  <script type="text/javascript">
                      createSelect(1);
                      $("#tYEAR option[value='<?php echo $_smarty_tpl->getVariable('tyear')->value;?>
']").attr("selected", true);
                      $("#tMON option[value='<?php echo $_smarty_tpl->getVariable('tmon')->value;?>
']").attr("selected", true);
                      createSelect();
                      $("#tDAY option[value='<?php echo $_smarty_tpl->getVariable('tday')->value;?>
']").attr("selected", true);
                  </script> 
              </div>
          </div>
          <div class="member_edit_li">
              <div class="member_edit_lable">手机：</div>
              <div class="member_edit_ipt"><input type="text" name="mobile" id="mobile" class="ipt" value="<?php echo $_smarty_tpl->getVariable('member')->value->user_mobile;?>
" readonly="true"></div>
          </div>
          
          <!-- <div class="member_edit_li">
              <div class="member_edit_lable">地址：</div>
              <div class="member_edit_ipt"><input type="text" name="address" id="address" class="ipt" value="<?php echo $_smarty_tpl->getVariable('member')->value->user_address;?>
"></div>
          </div> -->
          <div class="member_edit_li">
              <div class="member_edit_submit" id="member_edit_submit">提交</div>
          </div>
        </form>
      </div>
  </div>

<!--[if lt IE 9]>
　　　　<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
<![endif]-->
		<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('templateDir')->value)."/layout/member/foot.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
	</body>
</html>